package com.tedu.food.common.vo;

import java.io.Serializable;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用于封装购物车商品总数量和总价
 * @author 杨老师
 *
 */
@Data
@NoArgsConstructor
public class CartVo implements Serializable{
	private static final long serialVersionUID = 1L;
	private Integer number = 0;
	private Double price = 0.0;
	public CartVo(Integer number, Double price) {
		this.number = number;
		this.price = price;
	}
}
